﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Store.Manager.ERP.Domain.Entities
{
    public class OutgoingOrder
    {
        public int Id { get; set; } // 出库单唯一标识
        public int OrganizationId { get; set; } // 所属组织 ID
        public int CustomerId { get; set; } // 客户 ID
        public DateTime OutgoingDate { get; set; } // 出库日期
        public string OrderNumber { get; set; } // 出库单号

        // 导航属性，用于关联组织和客户
        public virtual Organization Organization { get; set; }
        public virtual Customer Customer { get; set; }

        // 出库单明细集合
        public virtual List<OutgoingOrderDetail> OutgoingOrderDetails { get; set; }
    }
}
